package com.ruoyi.project.cms.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 问题列表对象 t_question
 * 
 * @author ruoyi
 * @date 2020-09-06
 */
public class TQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 类型，1驾驶员端、2、客户端、3、检查站端、4、中间商端 */
    @Excel(name = "类型，1驾驶员端、2、客户端、3、检查站端、4、中间商端")
    private String type;

    /** 问题标题 */
    @Excel(name = "问题标题")
    private String title;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String contet;

    /**
     * 排序
     */
    private Integer sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContet(String contet) 
    {
        this.contet = contet;
    }

    public String getContet() 
    {
        return contet;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("title", getTitle())
            .append("contet", getContet())
            .toString();
    }
}
